package com.bdk.middle.order.core.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Reagan
 * @since 2021-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("e_transaction")
public class TransactionEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("app_id")
    private String appId;

    @TableField("member_id")
    private String memberId;

    @TableField("transaction_no")
    private String transactionNo;

    @TableField("order_no")
    private String orderNo;

    @TableField("delivery_no")
    private String deliveryNo;

    @TableField("amount")
    private BigDecimal amount;

    @TableField("coin_number")
    private Integer coinNumber;

    @TableField("bean_number")
    private Integer beanNumber;

    @TableField("status")
    private Integer status;

    @TableField("begin_date")
    private Date beginDate;

    @TableField("end_date")
    private Date endDate;

    @TableField("is_delete")
    private Integer isDelete;


}
